home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 014 / dump3.arc / DUMP3.DOC next >
Encoding:
Text File  |  1985-08-10  |  14.5 KB  |  403 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.                               ==========================
  21.                                DUMP - File Dump Utility
  22.                                      User's Guide
  23.                                      Version 3.0
  24.                               ==========================
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.                                   Copyright (C) 1985
  32.                                     Nick Richards
  33.                                      1124 S. Main
  34.                                  Burlington, NC 27215
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                          DUMP Version 3.00 (c) Copyright 1985 
  62.                          Argan Software; ALL RIGHTS RESERVED 
  63.                                Written by Nick Richards
  64.  
  65.           DUMP  is  the  copyrighted  property  of Argan Software.  You are 
  66.           granted a limited license  to  use  DUMP,  and  to  copy  it  and 
  67.           distribute it, provided that the following conditions are met: 
  68.  
  69.           1)  You may not charge a fee for such copying and distribution.
  70.           
  71.           2)  You must distribute DUMP as a complete set of all files.
  72.           
  73.           3) You may ONLY distribute DUMP in its original, unmodified state.  
  74.           
  75.           This  program  is  being  distributed  under the Freeware concept 
  76.           where users are urged to  distribute  this  program  in  original 
  77.           form,  not  modified in any way,  to their friends and other BBS.  
  78.           The  author  claims  no  responsibility  for  any  damage  either 
  79.           accidental or otherwise through use of this program.  The program 
  80.           is  provided  "AS  IS"  without  warranty  of  any  kind,  either 
  81.           expressed or implied.  The entire risk  as  to  the  quality  and 
  82.           compatibility of the program is with YOU.  
  83.           
  84.           If  you use this program and find it of value,  any contributions 
  85.           ($5 suggested) will be greatly appreciated and will  be  used  to 
  86.           further develop useful software.  Send any contributions to: 
  87.           
  88.                                     Nick Richards
  89.                                      1124 S. Main
  90.                                  Burlington, NC 27215
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.                                        -------
  122.                                        D U M P
  123.                                        -------
  124.  
  125.     
  126.  
  127.  
  128.                    Program to Search, Examine, and Modify Any File
  129.  
  130.  
  131.           INTRODUCTION
  132.           
  133.           
  134.           
  135.           DUMP allows you to examine the contents of a file.  You can also 
  136.           search for data within a file, as well as modify the file's con- 
  137.           tents.
  138.           
  139.           Why  can't  you just TYPE the file?  Well,  to an extent you can.  
  140.           TYPE will show you what is  in  the  file.  What  it  shows  you, 
  141.           however,  is  often  unreadable to the human eye.  Files that are 
  142.           compressed and files that contain non-ASCII data will look like a 
  143.           stream of random characters.  And,  of course,  you can't  modify 
  144.           that stream of random characters, just look at it.  Not very use- 
  145.           ful.  
  146.           
  147.           What about text processors?  Can they do the job?  After all, you 
  148.           can modify files with a text processor, can't you?  Yes, you can.  
  149.           Again,  however,  you are often faced with a stream of characters 
  150.           that make no sense to you.  Trying to  decipher  a  file  is  not 
  151.           always easy.  Besides,  isn't that what computers are supposed to 
  152.           do for you?  
  153.           
  154.           Here comes DUMP to the rescue!  Not only will DUMP allow  you  to 
  155.           search  through the data,  not only will DUMP allow you to EASILY 
  156.           modify a file,  but DUMP will also present the data to you in  an 
  157.           easy-to-understand display.  In fact,  it will display the infor- 
  158.           mation two different ways,  so you can attack the data YOUR  way, 
  159.           not just the way somebody else thought you should do so.  
  160.           
  161.           Have  you  ever had a file corrupted?  Don't worry!  DUMP can fix 
  162.           it almost instantly.  Program not working right and  you  suspect 
  163.           the file has wrong data?  Relax!  DUMP will show you exactly what 
  164.           data is in your file.  No more guesswork.  
  165.           
  166.           DUMP is  easy to use and will prove itself invaluable as you work
  167.           with your computer.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.           
  174.           
  175.           
  176.           
  177.           
  178.           
  179.           
  180.           
  181.           HOW TO USE DUMP
  182.  
  183.           
  184.           
  185.           Format:   DUMP [d:]filename[.ext][ O=offset][ S=search][ EOF]
  186.           
  187.           Type:     Internal  External
  188.                                 ****
  189.           
  190.           Remarks:  Specify the parameters:
  191.                       
  192.                     [d:]filename[.ext] to specify the file  to  be  DUMPed.  
  193.                     The  drive  specification  [d:]  is optional.  The ext- 
  194.                     ension [.ext] is optional,  but if the file has an ext- 
  195.                     ension,  you  must include it when you call DUMP.  DUMP 
  196.                     does not assume a specific extension.  
  197.                     
  198.                     [ O=offset] to specify the byte offset  into  the  file 
  199.                     where  DUMP is to begin.  If O= is not specified,  DUMP 
  200.                     starts from the beginning of the file.  offset can be a 
  201.                     number  from 0 up to the size of the file in bytes.  If 
  202.                     offset is not a multiple of 256,  it  will  be  rounded 
  203.                     down to the nearest multiple of 256.  
  204.                     
  205.                     [ S=search]  to  have  DUMP  search  for  the specified 
  206.                     string.  When the first occurence of that string in the 
  207.                     file is found,  DUMP stops searching and  displays  the 
  208.                     file  contents  at that point.  If S= is not specified, 
  209.                     DUMP will not search for a  particular  string.  search 
  210.                     can  be any string that does NOT contain a space.  DUMP 
  211.                     assumes that the first space  it  encounters  after  S= 
  212.                     marks the end of the search string.  
  213.                     
  214.                     [ EOF]  to  have  DUMP jump to the end of  the file and 
  215.                     display the file  contents  at  that  point.  EOF  will 
  216.                     override both O= and S=.  
  217.  
  218.           Example:  The following example DUMPs the file TEST.DAT on drive 
  219.                     B.
  220.                     
  221.                     A>dump b:test.dat
  222.                     
  223.                     The following example DUMPs the file MYPROG.BAS  start- 
  224.                     ing with byte 2560.  
  225.                     
  226.                     A>dump myprog.bas o=2560
  227.                     
  228.                     The following example DUMPs the file DATA starting with 
  229.                     byte 1280 and searching for the first occurrence of the 
  230.                     string "filename".  
  231.                     
  232.                     A>dump data o=1280 s=filename
  233.                     
  234.                     The  following  example DUMPs the last part of the file 
  235.                     RANDOM.TXT.  
  236.                     
  237.                     A>dump random.txt eof
  238.                               
  239.  
  240.  
  241.           HOW TO USE DUMP (Continued)
  242.  
  243.           DISPLAY FORMAT
  244.                     
  245.           When  DUMP  displays the file's contents,  it does so in two dif- 
  246.           ferent formats:  HEX and ASCII.  Each line on the screen displays 
  247.           16  bytes  from  the  file.  There  are 16 lines displayed on the 
  248.           screen at once, for a total of 256 bytes on each screen.  
  249.           
  250.           To make the screen easier to read,  the 16 lines are broken  into 
  251.           two  groups  of 8 lines.  Each line is divided into two groups of 
  252.           eight bytes.  On the HEX part of the screen,  the groups are div- 
  253.           ided  by a dot.  On the ASCII part of the screen,  the groups are 
  254.           divided by a double line at the top and bottom of the screen.  
  255.           
  256.           On the left side of the screen is a  column  marked  OFFSET.  The 
  257.           offset  numbers  tell  how  far  DUMP is into the file.  Thus the 
  258.           first line has an offset number of 0 because at the beginning  of 
  259.           that line,  there are 0 bytes that came before it.  The next line 
  260.           has an offset of 16 bytes because at the beginning of  that  line 
  261.           16  bytes have already been DUMPed (the first line).  At the beg- 
  262.           inning of the third line,  32  bytes  have  been  DUMPed  already 
  263.           (lines  one and two),  etc.  Each screen shows 256 bytes,  so the 
  264.           first offset number on a screen is a multiple of 256.  
  265.           
  266.           The HEX part of the screen shows the file bytes in hex format (00 
  267.           to FF).  The ASCII part of the screen shows the ASCII  equivalent 
  268.           of  each  HEX byte.  The only exceptions are ASCII characters 0 - 
  269.           31.  These are represented on the screen by a period since  their 
  270.           meanings  are  not clear visually.  However,  the HEX part of the 
  271.           screen tells you exactly which characters are being displayed, so 
  272.           you can always tell what it is.  
  273.           
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.           HOW TO USE DUMP (Continued)
  302.  
  303.  
  304.  
  305.           ACTIVE KEYS
  306.           
  307.           Once DUMP is started, there are several keys you can use:
  308.           
  309.           
  310.                  HOME             SPACE             END
  311.                  UP ARROW         ESC               DOWN ARROW
  312.                  PG UP            INS               PG DOWN
  313.           
  314.           HOME will cause DUMP to display the beginning of the  file.  This 
  315.           is a fast way to return to the beginning.  
  316.           
  317.           UP ARROW  will  cause  DUMP  to display the previous screen  (the 
  318.           previous 256 bytes).  
  319.           
  320.           PG UP will cause DUMP to jump back 5 screens (1280 bytes).
  321.           
  322.           END will cause DUMP to display the end of the  file.  This  is  a 
  323.           fast way to jump to the end.  
  324.           
  325.           DOWN ARROW  will  cause DUMP to display the next screen (the next 
  326.           256 bytes).  
  327.           
  328.           PG DOWN will cause DUMP to jump forward 5 screens (1280 bytes).
  329.           
  330.           SPACE will start DUMP scrolling through  the  file  at  a  steady 
  331.           speed.  To  stop  the  scrolling,  hit the space bar again.  Once 
  332.           scrolling begins, the only keys that are active besides the space 
  333.           bar  are the numeral keys  1 - 9.  These cause the  scrolling  to 
  334.           speed  up  or  slow down with 1 being the slowest and 9 being the 
  335.           fastest.  The current speed is displayed at  the  bottom  of  the 
  336.           screen.  
  337.           
  338.           Please  note  that  the preceding keys are only active at certain 
  339.           times.  Thus if you are at the beginning of the file, UP ARROW or 
  340.           HOME or PG UP will not go any farther.  Similarly,  if you are at 
  341.           the end of the file,  DOWN ARROW,  END, and PG DOWN will take you 
  342.           no farther.  When a key is not currently active,  the key message 
  343.           will  disappear from the screen and hitting that key will have no 
  344.           effect.  
  345.           
  346.           In addition, the RIGHT ARROW and LEFT ARROW keys can also be used 
  347.           if  you  started  DUMP  with the S= option.  S= will show you the 
  348.           first occurrence of the search string.  Hitting the  RIGHT  ARROW 
  349.           key will show you the next occurrence,  if any.  Hitting the LEFT 
  350.           ARROW key will show you the previous occurrence,  if  any.  These 
  351.           keys  can  be used repeatedly until you come to the end or begin- 
  352.           ning of the file.  However,  if you did not specify  S=,  neither 
  353.           the RIGHT ARROW or LEFT ARROW key will have any effect.  
  354.           
  355.           ESC will exit from DUMP at any time except when scrolling or when 
  356.           in MODIFY mode (see below).  
  357.  
  358.  
  359.  
  360.  
  361.           HOW TO USE DUMP (Continued) 
  362.           
  363.           
  364.           
  365.           MODIFY MODE
  366.           
  367.           INS will cause DUMP to enter MODIFY mode.  The screen will change 
  368.           slightly as follows:  The only special keys that will  be  active 
  369.           are INS (to leave MODIFY mode) and F9 (to write any modifications 
  370.           to the file in order to permanently save them).  In addition, the 
  371.           cursor  will  appear  as  a  large blinking box in the upper left 
  372.           corner of the HEX part of the screen.  
  373.           
  374.           In MODIFY mode,  you can overwrite any of the 256  bytes  on  the 
  375.           screen by typing over them.  You can do this either by typing the 
  376.           hex codes if you are in the HEX part of the screen,  or by typing 
  377.           the ASCII characters if you are in the ASCII part of the  screen.  
  378.           To  move  from  one part of the screen to the other,  hit the TAB 
  379.           key.  
  380.           
  381.           As you begin typing, your modifications will appear on the screen 
  382.           highlighted.  This means that  your  modifications  are  not  yet 
  383.           being saved to the file itself.  To do this, hit F9.  Any changes 
  384.           you made will now be permanently stored  in  the  file  and  your 
  385.           changes  will  no longer appear highlighted.  If you leave MODIFY 
  386.           mode before you hit F9,  the changes will not be  saved  and  the 
  387.           screen will be restored to the previous values.  
  388.  
  389.           When you are finished making modifications, hit F9 to save the 
  390.           changes (if you want them saved) and hit the INS key to return to 
  391.           normal DUMP mode.  You can then DUMP the next screen, hit INS to 
  392.           enter MODIFY mode and modify the next screen, if you want.
  393.  
  394.  
  395. 985 ight     author.  CED IS INTENDED FOR YOUR PRIVATE, NONCOMMERCIAL USE
  396.           ONLY.  You may make copies of the ced program and documentation
  397.           files for your own use, and you may copy the files for others. 
  398.           You may not, however, charge for such copies, or in any other way
  399.           sell the program or otherwise attempt to make money from it or
  400.           any modified version of it.  Please.
  401.  
  402.           An exception to the above is, however, granted to recognized
  403.